gl: specify attribute locations for vUv and aPosition
authorChristian Hergert <chergert@redhat.com>
Fri, 4 Dec 2020 21:33:34 +0000 (13:33 -0800)
committerChristian Hergert <chergert@redhat.com>
Fri, 4 Dec 2020 21:33:34 +0000 (13:33 -0800)
commit6883c2214b557aa758afb922ecde250c55707b20
treee564bca61f47ed89ae0503f655e80cdfeef837f5
parent7f6fdd6e7bdb2930678d4a54f11fcd041c81d7d8
gl: specify attribute locations for vUv and aPosition

These positions are not guaranteed to be in a specific order when linked
into the final GPU program. They need to be specified so that our code
in gskglrenderer.c can use known positions for them to match up with
our GskQuadVertex.

This fixes the GL renderer on macOS's OpenGL shader compiler.

Fixes #3420
gsk/gl/gskglshaderbuilder.c